﻿<UserControl x:Class="VNet.VisiSuite.VisiBoard.Controls.Header2Control" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:vuc="clr-namespace:VNet.VisiSuite.Controls;assembly=VNet.VisiSuite.Controls" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" x:Name="mywindow">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Assets/Styles/AppStyles.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <vuc:MetroIconMenu Grid.Column="0" x:Name="_leftMenu" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,10,0,0" />
        <DockPanel Grid.Column="1"  VerticalAlignment="Center">
            <TextBlock x:Name="_titleTblk" Foreground="{Binding TextColor}" VerticalAlignment="Center"  Style="{StaticResource SmallHeaderBlueTextBlockStyle}" Text="{Binding PageTitle}" />
            <TextBlock x:Name="_datetime_text" Style ="{StaticResource DateTimeTextBlockStyle}" />
        </DockPanel>
                
        <vuc:MetroIconMenu Grid.Column="2" x:Name="_rightMenu" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,10,8,0" />
    </Grid>
</UserControl>
